<template>
 <div class="header">

 <div class="header-left">
 	<span class="iconfont">&#xe624;</span>
 </div>

 <div class="header-input">
 	<span class="iconfont">&#xe632;</span>
 	输入城市、景点、游玩、主题
</div>
<router-link to="/city">	
 <div class="header-right">
 	{{this.$store.state.city}}
 	<span class="iconfont right-icon">&#xe64a;</span>
 </div>
</router-link>
 </div>
</template>

<script>
export default {
  name: 'HomeHeader'
}
</script>

<style scoped>
.header{
	display:flex;
	height:.86rem;
	line-height:.86rem;
	background:#00bcd4;
	color:#fff;
}
	

.header-left{	
	width:.64rem;
	text-align:center;
}

.header-input{
	flex:1;
	background:#fff;
	border-radius:.1rem;
	height:.64rem;
	margin-top:.12rem;
	margin-left:.2rem;
	color:#ccc;
	padding-left:.2rem;
	line-height:.64rem;
}

.header-right{
		min-width:1.04rem;
		text-align:center;
		color:#fff;
		padding:0 0.1rem;
		line-height: .88rem;
	}
.right-icon{
		font-size:.24rem;
	}

</style>
